package com.xmcc.service;

import com.xmcc.dto.SysAclModuleTreeDto;
import com.xmcc.pojo.SysAcl;
import com.xmcc.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface SysCoreService {

    List<SysAclModuleTreeDto> coreTree(Integer roleId);

    List<SysRole> queryRoleByUser(Integer id);

    List<SysAcl> queryAclByRoleId(List<SysRole> sysRoles);

    Set<Integer> getAclId(List<SysAcl> url);

    Set<Integer> getAclIdByUser(@Param("id") Integer userId);
}
